SmartCrawl\Modules\Advanced\Redirects\Database_Table A

Total Complexity 58
Dependencies 4
Dependents 9
Total lines 563
Lines of code 292
Logical lines of code 130
Comment lines 173
Methods 26
Properties 1

Methods 26

Method Rating Maintainability Complexity Lines of code
insert_redirects()
S
48 5 37
upgrade_table()
S
52 5 25
update_redirects()
S
52 4 25
map_row_to_model()
S
55 4 21
get_raw_redirects()
S
59 4 13
create_table()
S
54 3 24
save_redirect()
S
53 3 24
delete_redirects()
S
62 3 11
map_model_to_row()
S
59 2 15
options_to_string()
S
71 2 6
get_count()
S
68 2 7
options_to_array()
S
71 2 6
get_redirects()
S
70 2 6
get_deflated_redirects()
S
70 2 6
get_redirects_by_path()
S
67 2 7
get_redirects_by_source_regex()
S
67 2 7
get_redirect_by_source()
S
66 2 8
formats()
S
66 1 11
delete_redirect()
S
74 1 4
get_redirect()
S
71 1 5
drop_table()
S
75 1 4
map_row_to_deflated()
S
76 1 4
delete_all()
S
75 1 4
table_exists()
S
75 1 4
get_table_name()
S
76 1 4
get_redirect_count()
S
75 1 4